import { createRouter, createWebHistory } from 'vue-router'
import AboutPage from '@/views/AboutPage.vue'
import HomePage from '@/views/HomePage.vue'
import LifePage from '@/views/LifePage.vue'
import VipPage from '@/views/VipPage.vue'
import MyPage from '@/views/MyPage.vue'
import LoginPage from '@/views/LoginPage.vue'
import PhoneVerify from '@/views/PhoneVerify.vue'
import UserAgreement from '@/views/UserAgreement.vue'
import PrivacyPolicy from '@/views/PrivacyPolicy.vue'
import ExpressDelivery from '@/views/ExpressDelivery.vue'
import SendCourier from '@/views/SendCourier.vue'

const routes = [
    {
        path: '/home-page',
        name: 'HomePage',
        component: HomePage
    },
    {
        path: '/about-page',
        name: 'AboutPage',
        component: AboutPage
    },
    {
        path: '/life-page',
        name: 'LifePage',
        component: LifePage
    },
    {
        path: '/vip-page',
        name: 'VipPage',
        component: VipPage
    },
    {
        path: '/my-page',
        name: 'MyPage',
        component: MyPage
    },
    {
        path: '/login-page',
        name: 'LoginPage',
        component: LoginPage
    },
    {
        path: '/phone-verify',
        name: 'PhoneVerify',
        component: PhoneVerify
    },
    {
        path: '/user-agreement',
        name: 'UserAgreement',
        component: UserAgreement
    },
    {
        path: '/privacy-policy',
        name: 'PrivacyPolicy',
        component: PrivacyPolicy
    },
    {
        path: '/express-delivery',
        name: 'ExpressDelivery',
        component: ExpressDelivery
    },
    {
        path: '/send-courier',
        name: 'SendCourier',
        component: SendCourier
    }
]
const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router